inherited frmPurchaseStockEdit: TfrmPurchaseStockEdit
  Left = 436
  Top = 37
  Width = 843
  Height = 629
  BorderStyle = bsSizeable
  Caption = #37319#36141#20837#24211#21333
  Position = poScreenCenter
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  inherited RzStatusBar1: TRzStatusBar
    Top = 572
    Width = 827
  end
  inherited RzToolbar1: TRzToolbar
    Width = 827
    ToolbarControls = (
      RzToolButton1
      RzToolButton2
      RzToolButton3
      RzToolButton4
      RzToolButton5
      RzToolButton6
      RzToolButton7)
  end
  object TopPanel: TRzPanel [2]
    Left = 0
    Top = 44
    Width = 827
    Height = 173
    Align = alTop
    TabOrder = 2
    object RzGroupBox1: TRzGroupBox
      Left = 2
      Top = 41
      Width = 823
      Height = 130
      Align = alClient
      Color = clInfoBk
      GradientColorStyle = gcsMSOffice
      GroupStyle = gsBanner
      TabOrder = 0
      object Label3: TLabel
        Left = 393
        Top = 11
        Width = 57
        Height = 13
        AutoSize = False
        Caption = #21333#25454#26085#26399
      end
      object Label4: TLabel
        Left = 599
        Top = 14
        Width = 57
        Height = 13
        AutoSize = False
        Caption = #21333#25454#21495#30721
      end
      object Label5: TLabel
        Left = 36
        Top = 11
        Width = 137
        Height = 30
        AutoSize = False
        Caption = #37319#36141#20837#24211#21333
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -24
        Font.Name = #40657#20307
        Font.Style = []
        ParentFont = False
      end
      object Label6: TLabel
        Left = 197
        Top = 91
        Width = 57
        Height = 13
        AutoSize = False
        Caption = #35746#21333#21495#30721
      end
      object Label7: TLabel
        Left = 393
        Top = 35
        Width = 57
        Height = 13
        AutoSize = False
        Caption = #19994#21153#21592
      end
      object Label8: TLabel
        Left = 601
        Top = 43
        Width = 57
        Height = 13
        AutoSize = False
        Caption = #36816#36153
      end
      object Label9: TLabel
        Left = 393
        Top = 67
        Width = 57
        Height = 13
        AutoSize = False
        Caption = #21457#31080#31867#22411
      end
      object Label10: TLabel
        Left = 600
        Top = 67
        Width = 57
        Height = 13
        AutoSize = False
        Caption = #21457#31080#21495#30721
      end
      object Label11: TLabel
        Left = 393
        Top = 91
        Width = 57
        Height = 13
        AutoSize = False
        Caption = #22791#27880
      end
      object RzDBLabel1: TRzDBLabel
        Left = 232
        Top = 16
        Width = 105
        Height = 25
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clRed
        Font.Height = -24
        Font.Name = #21326#25991#34892#26999
        Font.Style = [fsBold]
        ParentFont = False
        TextStyle = tsRaised
        DataField = 'ORDERSTATE'
        DataSource = MasterDataSource
      end
      object RzDBDateTimeEdit1: TRzDBDateTimeEdit
        Left = 465
        Top = 8
        Width = 121
        Height = 21
        DataSource = MasterDataSource
        DataField = 'ORDERDATE'
        TabOrder = 0
        EditType = etDate
      end
      object RzDBEdit5: TRzDBEdit
        Left = 665
        Top = 11
        Width = 145
        Height = 21
        DataSource = MasterDataSource
        DataField = 'ORDERNUMBER'
        TabOrder = 1
      end
      object RzDBRadioGroup1: TRzDBRadioGroup
        Left = 16
        Top = 40
        Width = 165
        Height = 49
        DataField = 'ORDERSTYLE'
        DataSource = MasterDataSource
        Items.Strings = (
          #29616#27454#37319#36141
          #25346#24080#37319#36141)
        Values.Strings = (
          #29616#27454#37319#36141
          #25346#24080#37319#36141)
        Columns = 2
        GroupStyle = gsBanner
        TabOrder = 2
        Transparent = True
        object Label12: TLabel
          Left = 37
          Top = 0
          Width = 89
          Height = 17
          AutoSize = False
          Caption = #12304#21333#25454#29366#24577#12305
          Transparent = True
        end
      end
      object RzDBButtonEdit1: TRzDBButtonEdit
        Left = 261
        Top = 88
        Width = 121
        Height = 21
        TabOrder = 3
      end
      object RzDBComboBox1: TRzDBComboBox
        Left = 465
        Top = 32
        Width = 121
        Height = 21
        DataField = 'BUSINESSMAN'
        DataSource = MasterDataSource
        ItemHeight = 13
        TabOrder = 4
      end
      object RzDBEdit6: TRzDBEdit
        Left = 665
        Top = 64
        Width = 145
        Height = 21
        DataSource = MasterDataSource
        DataField = 'INVOICENUMBER'
        TabOrder = 5
      end
      object RzDBComboBox2: TRzDBComboBox
        Left = 465
        Top = 64
        Width = 121
        Height = 21
        DataField = 'INVOICETYPE'
        DataSource = MasterDataSource
        ItemHeight = 13
        TabOrder = 6
        TextHint = #21457#31080#31867#22411
      end
      object RzDBEdit7: TRzDBEdit
        Left = 665
        Top = 36
        Width = 145
        Height = 21
        DataSource = MasterDataSource
        DataField = 'CARRYSUM'
        TabOrder = 7
      end
      object RzDBEdit8: TRzDBEdit
        Left = 465
        Top = 88
        Width = 345
        Height = 21
        DataSource = MasterDataSource
        DataField = 'ORDERNOTE'
        TabOrder = 8
      end
    end
    object RzPanel1: TRzPanel
      Left = 2
      Top = 2
      Width = 823
      Height = 39
      Align = alTop
      TabOrder = 1
      object Label2: TLabel
        Left = 295
        Top = 16
        Width = 57
        Height = 13
        AutoSize = False
        Caption = #32852#31995#26041#24335
      end
      object Label1: TLabel
        Left = 8
        Top = 14
        Width = 57
        Height = 13
        AutoSize = False
        Caption = #20379#24212#21830
      end
      object RzDBEdit2: TRzDBEdit
        Left = 355
        Top = 10
        Width = 97
        Height = 21
        DataSource = MasterDataSource
        DataField = 'CLIENTLINKER'
        ReadOnly = True
        Color = clInfoBk
        TabOrder = 0
      end
      object RzDBEdit4: TRzDBEdit
        Left = 555
        Top = 11
        Width = 97
        Height = 21
        ReadOnly = True
        Color = clInfoBk
        TabOrder = 1
      end
      object RzDBEdit3: TRzDBEdit
        Left = 459
        Top = 11
        Width = 97
        Height = 21
        ReadOnly = True
        Color = clInfoBk
        TabOrder = 2
      end
      object RzDBEdit1: TRzDBEdit
        Left = 56
        Top = 11
        Width = 158
        Height = 21
        DataSource = MasterDataSource
        DataField = 'CLIENTNAME'
        ReadOnly = True
        Color = clInfoBk
        TabOrder = 3
      end
      object RzBitBtn1: TRzBitBtn
        Left = 218
        Top = 9
        Caption = #36873#25321
        TabOrder = 4
        OnClick = RzBitBtn1Click
      end
    end
  end
  object WorkPanel: TRzPanel [3]
    Left = 0
    Top = 217
    Width = 827
    Height = 293
    Align = alClient
    TabOrder = 3
    object DBGridEhOrderDetail: TDBGridEh
      Left = 2
      Top = 43
      Width = 823
      Height = 248
      Align = alClient
      DataGrouping.GroupLevels = <>
      DataSource = DetailDataSource
      Flat = True
      FooterColor = clGradientInactiveCaption
      FooterFont.Charset = DEFAULT_CHARSET
      FooterFont.Color = clWindowText
      FooterFont.Height = -11
      FooterFont.Name = 'MS Sans Serif'
      FooterFont.Style = []
      FooterRowCount = 1
      FrozenCols = 5
      Options = [dgTitles, dgIndicator, dgColumnResize, dgTabs, dgConfirmDelete, dgCancelOnExit]
      OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghEnterAsTab, dghRowHighlight, dghDialogFind, dghColumnResize, dghColumnMove, dghHotTrack]
      ReadOnly = True
      RowDetailPanel.Color = clBtnFace
      RowHeight = 20
      SumList.Active = True
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'MS Sans Serif'
      TitleFont.Style = []
      UseMultiTitle = True
      Columns = <
        item
          EditButtons = <>
          FieldName = 'ITEMID'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'ORDERID'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'PRODUCTID'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'productnumber'
          Footers = <
            item
              Value = #21512#35745
              ValueType = fvtStaticText
            end>
        end
        item
          EditButtons = <>
          FieldName = 'PRODUCTNAME'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'PRODUCTUNIT'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'PRODUCTMODEL'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'BALANCETYPE'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'AMOUNT'
          Footer.FieldName = 'AMOUNT'
          Footer.ValueType = fvtSum
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'NOTAXPRICE'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'TAX'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'TAXPRICE'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'TAXSUM'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'TOTALNOTAXSUM'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'TOTALTAXSUM'
          Footer.FieldName = 'TOTALTAXSUM'
          Footer.ValueType = fvtSum
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'COSTPRICE'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'COSTSUM'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'PROFITSUM'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'REFRENCEPRICE'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'AGIO'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'FACTAMOUNT'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'INDENTNUMBER'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'ORIGINNUMBER'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'DEPOTNAME'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'BUSINESSMAN'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'EXCHANGENUMBER'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'EXCHANGENAME'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'ISCOMPLETE'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'INDETNITEMID'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'COSTOBJECT'
          Footers = <>
          Visible = False
        end
        item
          EditButtons = <>
          FieldName = 'ITEMNOTE'
          Footers = <>
        end>
      object RowDetailData: TRowDetailPanelControlEh
      end
    end
    object RzPanel2: TRzPanel
      Left = 2
      Top = 2
      Width = 823
      Height = 41
      Align = alTop
      TabOrder = 1
      object RzBitBtn2: TRzBitBtn
        Left = 496
        Top = 8
        Caption = 'RzBitBtn2'
        TabOrder = 0
        OnClick = RzBitBtn2Click
      end
      object RzBitBtn3: TRzBitBtn
        Left = 584
        Top = 8
        Caption = 'RzBitBtn3'
        TabOrder = 1
        OnClick = RzBitBtn3Click
      end
      object RzBitBtn4: TRzBitBtn
        Left = 672
        Top = 8
        Caption = 'RzBitBtn4'
        TabOrder = 2
        OnClick = RzBitBtn4Click
      end
    end
  end
  object BottomPanel: TRzPanel [4]
    Left = 0
    Top = 510
    Width = 827
    Height = 62
    Align = alBottom
    TabOrder = 4
    object Label15: TLabel
      Left = 13
      Top = 12
      Width = 57
      Height = 13
      AutoSize = False
      Caption = #20215#31246
    end
    object Label17: TLabel
      Left = 12
      Top = 38
      Width = 57
      Height = 13
      AutoSize = False
      Caption = #22823#20889
    end
    object Label18: TLabel
      Left = 176
      Top = 12
      Width = 57
      Height = 13
      AutoSize = False
      Caption = #24212#20184
    end
    object Label19: TLabel
      Left = 341
      Top = 12
      Width = 57
      Height = 13
      AutoSize = False
      Caption = #24050#32467
    end
    object Label20: TLabel
      Left = 499
      Top = 12
      Width = 57
      Height = 13
      AutoSize = False
      Caption = #20844#21496
    end
    object Label21: TLabel
      Left = 501
      Top = 44
      Width = 57
      Height = 13
      AutoSize = False
      Caption = #23457#26680
    end
    object Label22: TLabel
      Left = 663
      Top = 42
      Width = 57
      Height = 13
      AutoSize = False
      Caption = #21046#21333
    end
    object RzDBEdit10: TRzDBEdit
      Left = 44
      Top = 7
      Width = 121
      Height = 21
      DataSource = MasterDataSource
      DataField = 'TAXTOTALSUM'
      ReadOnly = True
      Color = clInfoBk
      TabOrder = 0
    end
    object RzDBEdit11: TRzDBEdit
      Left = 44
      Top = 34
      Width = 447
      Height = 21
      DataSource = MasterDataSource
      DataField = 'TOTALSUMCAPS'
      ReadOnly = True
      Color = clInfoBk
      TabOrder = 1
    end
    object RzDBEdit12: TRzDBEdit
      Left = 212
      Top = 7
      Width = 121
      Height = 21
      DataSource = MasterDataSource
      DataField = 'TOTALSUM'
      ReadOnly = True
      Color = clInfoBk
      TabOrder = 2
    end
    object RzDBEdit13: TRzDBEdit
      Left = 372
      Top = 7
      Width = 121
      Height = 21
      DataSource = MasterDataSource
      DataField = 'BALANCESUM'
      ReadOnly = True
      Color = clInfoBk
      TabOrder = 3
    end
    object RzDBEdit14: TRzDBEdit
      Left = 532
      Top = 7
      Width = 285
      Height = 21
      DataSource = MasterDataSource
      DataField = 'SECTOR'
      ReadOnly = True
      Color = clInfoBk
      TabOrder = 4
    end
    object RzDBEdit15: TRzDBEdit
      Left = 532
      Top = 39
      Width = 121
      Height = 21
      DataSource = MasterDataSource
      DataField = 'CENSOR'
      ReadOnly = True
      Color = clInfoBk
      TabOrder = 5
    end
    object RzDBEdit16: TRzDBEdit
      Left = 700
      Top = 39
      Width = 121
      Height = 21
      DataSource = MasterDataSource
      DataField = 'USERNAME'
      ReadOnly = True
      Color = clInfoBk
      TabOrder = 6
    end
  end
  inherited RzFrameController1: TRzFrameController
    Left = 112
  end
  inherited ActionList: TActionList
    Left = 504
    Top = 16
  end
  inherited MasterDataSource: TDataSource
    DataSet = qryOrder
    Top = 144
  end
  inherited DetailDataSource: TDataSource
    DataSet = qryDetail
    Left = 344
    Top = 120
  end
  object qryOrder: TADOQuery
    Connection = CommonData.con
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'orderid'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      
        'select * from tb_order where ordertype='#39#37319#36141#20837#24211#39' and orderid=:order' +
        'id')
    Left = 160
    Top = 145
    object qryOrderORDERID: TAutoIncField
      FieldName = 'ORDERID'
      ReadOnly = True
    end
    object qryOrderORDERNUMBER: TStringField
      FieldName = 'ORDERNUMBER'
    end
    object qryOrderCLIENTNAME: TStringField
      FieldKind = fkLookup
      FieldName = 'CLIENTNAME'
      LookupDataSet = CommonData.qryClient
      LookupKeyFields = 'CLIENTID'
      LookupResultField = 'CLIENTNAME'
      KeyFields = 'CLIENTID'
      Lookup = True
    end
    object qryOrderORDERDATE: TDateTimeField
      FieldName = 'ORDERDATE'
    end
    object qryOrderORDERTYPE: TStringField
      FieldName = 'ORDERTYPE'
    end
    object qryOrderORDERSTATE: TStringField
      FieldName = 'ORDERSTATE'
      Size = 10
    end
    object qryOrderORDERSUMMARY: TStringField
      FieldName = 'ORDERSUMMARY'
      Size = 80
    end
    object qryOrderINVOICETYPE: TStringField
      FieldName = 'INVOICETYPE'
    end
    object qryOrderINVOICENUMBER: TStringField
      FieldName = 'INVOICENUMBER'
      Size = 30
    end
    object qryOrderCARRYSUM: TBCDField
      FieldName = 'CARRYSUM'
      Precision = 15
      Size = 2
    end
    object qryOrderNOTAXTOTALSUM: TBCDField
      FieldName = 'NOTAXTOTALSUM'
      Precision = 15
      Size = 2
    end
    object qryOrderTAXTOTALSUM: TBCDField
      FieldName = 'TAXTOTALSUM'
      Precision = 15
      Size = 2
    end
    object qryOrderORDERNOTE: TStringField
      FieldName = 'ORDERNOTE'
      Size = 40
    end
    object qryOrderTAXSUM: TBCDField
      FieldName = 'TAXSUM'
      Precision = 15
      Size = 2
    end
    object qryOrderMACHINENAME: TStringField
      FieldName = 'MACHINENAME'
      Size = 30
    end
    object qryOrderTAX: TBCDField
      FieldName = 'TAX'
      Precision = 15
      Size = 2
    end
    object qryOrderPROFITSUM: TBCDField
      FieldName = 'PROFITSUM'
      ReadOnly = True
      Precision = 16
      Size = 2
    end
    object qryOrderCOSTSUM: TBCDField
      FieldName = 'COSTSUM'
      Precision = 15
      Size = 2
    end
    object qryOrderORDERSTYLE: TStringField
      FieldName = 'ORDERSTYLE'
    end
    object qryOrderTOTALSUMCAPS: TStringField
      FieldName = 'TOTALSUMCAPS'
      Size = 60
    end
    object qryOrderDISCOUNT: TBCDField
      FieldName = 'DISCOUNT'
      Precision = 15
      Size = 2
    end
    object qryOrderTOTALSUM: TBCDField
      FieldName = 'TOTALSUM'
      ReadOnly = True
      Precision = 17
      Size = 2
    end
    object qryOrderCLIENTLINKER: TStringField
      FieldKind = fkLookup
      FieldName = 'CLIENTLINKER'
      LookupDataSet = CommonData.qryClient
      LookupKeyFields = 'CLIENTID'
      LookupResultField = 'CLIENTLINKER'
      KeyFields = 'CLIENTID'
      Lookup = True
    end
    object qryOrderBALANCESUM: TBCDField
      FieldName = 'BALANCESUM'
      Precision = 15
      Size = 2
    end
    object qryOrderAGIO: TBCDField
      FieldName = 'AGIO'
      Precision = 15
      Size = 2
    end
    object qryOrderREMAINSUM: TBCDField
      FieldName = 'REMAINSUM'
      ReadOnly = True
      Precision = 18
      Size = 2
    end
    object qryOrderUSERNAME: TStringField
      FieldName = 'USERNAME'
    end
    object qryOrderBUSINESSMAN: TStringField
      FieldName = 'BUSINESSMAN'
    end
    object qryOrderCLIENTID: TIntegerField
      FieldName = 'CLIENTID'
    end
    object qryOrderDELIVERDATE: TDateTimeField
      FieldName = 'DELIVERDATE'
    end
    object qryOrderDELIVERPLACE: TStringField
      FieldName = 'DELIVERPLACE'
      Size = 30
    end
    object qryOrderINDENTNUMBER: TStringField
      FieldName = 'INDENTNUMBER'
    end
    object qryOrderORIGINUMBER: TStringField
      FieldName = 'ORIGINUMBER'
    end
    object qryOrderISCOMPLETE: TBooleanField
      FieldName = 'ISCOMPLETE'
    end
    object qryOrderISCANCLE: TBooleanField
      FieldName = 'ISCANCLE'
    end
    object qryOrderISBALANCE: TBooleanField
      FieldName = 'ISBALANCE'
    end
    object qryOrderISUNTREAD: TBooleanField
      FieldName = 'ISUNTREAD'
    end
    object qryOrderISQUICK: TBooleanField
      FieldName = 'ISQUICK'
    end
    object qryOrderISCENSOR: TBooleanField
      FieldName = 'ISCENSOR'
    end
    object qryOrderBALANCEDATE: TDateTimeField
      FieldName = 'BALANCEDATE'
    end
    object qryOrderSECTOR: TStringField
      FieldName = 'SECTOR'
    end
    object qryOrderCENSOR: TStringField
      FieldName = 'CENSOR'
    end
    object qryOrderACCOUNTORDERID: TIntegerField
      FieldName = 'ACCOUNTORDERID'
    end
    object qryOrderISAPPEND: TBooleanField
      FieldName = 'ISAPPEND'
    end
    object qryOrderAPPENDNUMBER: TStringField
      FieldName = 'APPENDNUMBER'
    end
    object qryOrderTOTALSUMCAPS1: TStringField
      FieldName = 'TOTALSUMCAPS1'
      Size = 60
    end
    object qryOrderORDERSIGN: TStringField
      FieldName = 'ORDERSIGN'
      FixedChar = True
      Size = 2
    end
  end
  object qryDetail: TADOQuery
    Connection = CommonData.con
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <
      item
        Name = 'orderid'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      'select * from tb_item where orderid=:orderid')
    Left = 208
    Top = 129
    object qryDetailITEMID: TAutoIncField
      FieldName = 'ITEMID'
      ReadOnly = True
      Visible = False
    end
    object qryDetailORDERID: TIntegerField
      FieldName = 'ORDERID'
      Visible = False
    end
    object qryDetailPRODUCTID: TIntegerField
      FieldName = 'PRODUCTID'
      Visible = False
    end
    object qryDetailproductnumber: TStringField
      DisplayLabel = #21830#21697#32534#30721
      FieldKind = fkLookup
      FieldName = 'productnumber'
      LookupDataSet = CommonData.qryProduct
      LookupKeyFields = 'PRODUCTID'
      LookupResultField = 'PRODUCTNUMBER'
      KeyFields = 'PRODUCTID'
      Lookup = True
    end
    object qryDetailPRODUCTNAME: TStringField
      DisplayLabel = #21830#21697#21517#31216
      FieldKind = fkLookup
      FieldName = 'PRODUCTNAME'
      LookupDataSet = CommonData.qryProduct
      LookupKeyFields = 'PRODUCTID'
      LookupResultField = 'PRODUCTNAME'
      KeyFields = 'PRODUCTID'
      Lookup = True
    end
    object qryDetailPRODUCTUNIT: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'PRODUCTUNIT'
    end
    object qryDetailPACTTYPE: TStringField
      FieldName = 'PACTTYPE'
    end
    object qryDetailPRODUCTMODEL: TStringField
      DisplayLabel = #21830#21697#22411#21495
      FieldKind = fkLookup
      FieldName = 'PRODUCTMODEL'
      LookupDataSet = CommonData.qryProduct
      LookupKeyFields = 'PRODUCTID'
      LookupResultField = 'PRODUCTMODLE'
      KeyFields = 'PRODUCTID'
      Lookup = True
    end
    object qryDetailBALANCETYPE: TStringField
      DisplayLabel = #32467#31639#31867#22411
      FieldName = 'BALANCETYPE'
    end
    object qryDetailAMOUNT: TBCDField
      DisplayLabel = #25968#37327
      FieldName = 'AMOUNT'
      Precision = 15
      Size = 2
    end
    object qryDetailNOTAXPRICE: TBCDField
      DisplayLabel = #26080#31246#21333#20215
      FieldName = 'NOTAXPRICE'
      Precision = 15
      Size = 2
    end
    object qryDetailTAX: TBCDField
      DisplayLabel = #31246#29575
      FieldName = 'TAX'
      Precision = 15
      Size = 2
    end
    object qryDetailTAXPRICE: TBCDField
      DisplayLabel = #21547#31246#21333#20215
      FieldName = 'TAXPRICE'
      ReadOnly = True
      Precision = 32
    end
    object qryDetailTAXSUM: TBCDField
      DisplayLabel = #31246#39069#21512#35745
      FieldName = 'TAXSUM'
      ReadOnly = True
      Precision = 32
      Size = 6
    end
    object qryDetailTOTALNOTAXSUM: TBCDField
      DisplayLabel = #26080#31246#21512#35745
      FieldName = 'TOTALNOTAXSUM'
      ReadOnly = True
      Precision = 31
    end
    object qryDetailTOTALTAXSUM: TBCDField
      DisplayLabel = #20215#31246#21512#35745
      FieldName = 'TOTALTAXSUM'
      ReadOnly = True
      Precision = 32
      Size = 6
    end
    object qryDetailCOSTPRICE: TBCDField
      FieldName = 'COSTPRICE'
      Visible = False
      Precision = 18
    end
    object qryDetailCOSTSUM: TBCDField
      FieldName = 'COSTSUM'
      ReadOnly = True
      Visible = False
      Precision = 32
      Size = 6
    end
    object qryDetailPROFITSUM: TBCDField
      FieldName = 'PROFITSUM'
      ReadOnly = True
      Visible = False
      Precision = 32
      Size = 6
    end
    object qryDetailREFRENCEPRICE: TBCDField
      FieldName = 'REFRENCEPRICE'
      Visible = False
      Precision = 18
    end
    object qryDetailAGIO: TBCDField
      DisplayLabel = #25240#25187
      FieldName = 'AGIO'
      Precision = 15
      Size = 2
    end
    object qryDetailFACTAMOUNT: TBCDField
      DisplayLabel = #23454#38469#25968#37327
      FieldName = 'FACTAMOUNT'
      Precision = 15
      Size = 2
    end
    object qryDetailINDENTNUMBER: TStringField
      FieldName = 'INDENTNUMBER'
      Visible = False
    end
    object qryDetailORIGINNUMBER: TStringField
      FieldName = 'ORIGINNUMBER'
      Visible = False
    end
    object p: TStringField
      DisplayLabel = #20179#24211
      FieldName = 'DEPOTNAME'
    end
    object qryDetailBUSINESSMAN: TStringField
      DisplayLabel = #19994#21153#21592
      FieldName = 'BUSINESSMAN'
    end
    object qryDetailEXCHANGENUMBER: TStringField
      FieldName = 'EXCHANGENUMBER'
      Visible = False
    end
    object qryDetailEXCHANGENAME: TStringField
      FieldName = 'EXCHANGENAME'
      Visible = False
    end
    object qryDetailISCOMPLETE: TBooleanField
      FieldName = 'ISCOMPLETE'
      Visible = False
    end
    object qryDetailINDETNITEMID: TIntegerField
      FieldName = 'INDETNITEMID'
      Visible = False
    end
    object qryDetailCOSTOBJECT: TStringField
      FieldName = 'COSTOBJECT'
      Visible = False
    end
    object qryDetailITEMNOTE: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'ITEMNOTE'
      Size = 40
    end
    object qryDetailPACTAMOUNT: TBCDField
      FieldName = 'PACTAMOUNT'
      Precision = 18
      Size = 2
    end
    object qryDetailDEPOTID: TIntegerField
      FieldName = 'DEPOTID'
    end
  end
end
